package com.codingxyz.simple.annotation;

import java.lang.annotation.Documented;
 
import java.lang.annotation.ElementType;
 
import java.lang.annotation.Retention;
 
import java.lang.annotation.RetentionPolicy;
 
import java.lang.annotation.Target;
 
 
 
@Documented // 标记在生成javadoc时是否将注解包含进去，可有可无
@Target({ElementType.METHOD}) //注解应用类型
@Retention(RetentionPolicy.RUNTIME) // 注解的类型
public @interface MethodInterface {
 
 
 
String name() default "";
 
}
 